Optimal. Leaf size=42 \[ \frac {1}{2 a b c^2 (a-b x)}+\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^2 b c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {46, 214}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^2 b c^2}+\frac {1}{2 a b c^2 (a-b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x) (a c-b c x)^2} \, dx &=\int \left (\frac {1}{2 a c^2 (a-b x)^2}+\frac {1}{2 a c^2 \left (a^2-b^2 x^2\right )}\right ) \, dx\\ &=\frac {1}{2 a b c^2 (a-b x)}+\frac {\int \frac {1}{a^2-b^2 x^2} \, dx}{2 a c^2}\\ &=\frac {1}{2 a b c^2 (a-b x)}+\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^2 b c^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 53, normalized size = 1.26 \begin {gather*} \frac {2 a+(-a+b x) \log (a-b x)+(a-b x) \log (a+b x)}{4 a^2 b c^2 (a-b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 51, normalized size = 1.21
method | result | size |
default | \(\frac {-\frac {\ln \left (-b x +a \right )}{4 a^{2} b}+\frac {1}{2 a b \left (-b x +a \right )}+\frac {\ln \left (b x +a \right )}{4 a^{2} b}}{c^{2}}\) | \(51\) |
norman | \(\frac {1}{2 a b \,c^{2} \left (-b x +a \right )}-\frac {\ln \left (-b x +a \right )}{4 a^{2} b \,c^{2}}+\frac {\ln \left (b x +a \right )}{4 a^{2} b \,c^{2}}\) | \(56\) |
risch | \(\frac {1}{2 a b \,c^{2} \left (-b x +a \right )}-\frac {\ln \left (-b x +a \right )}{4 a^{2} b \,c^{2}}+\frac {\ln \left (b x +a \right )}{4 a^{2} b \,c^{2}}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 60, normalized size = 1.43 \begin {gather*} -\frac {1}{2 \, {\left (a b^{2} c^{2} x - a^{2} b c^{2}\right )}} + \frac {\log \left (b x + a\right )}{4 \, a^{2} b c^{2}} - \frac {\log \left (b x - a\right )}{4 \, a^{2} b c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.63, size = 60, normalized size = 1.43 \begin {gather*} \frac {{\left (b x - a\right )} \log \left (b x + a\right ) - {\left (b x - a\right )} \log \left (b x - a\right ) - 2 \, a}{4 \, {\left (a^{2} b^{2} c^{2} x - a^{3} b c^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.12, size = 48, normalized size = 1.14 \begin {gather*} - \frac {1}{- 2 a^{2} b c^{2} + 2 a b^{2} c^{2} x} + \frac {- \frac {\log {\left (- \frac {a}{b} + x \right )}}{4} + \frac {\log {\left (\frac {a}{b} + x \right )}}{4}}{a^{2} b c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.39, size = 53, normalized size = 1.26 \begin {gather*} -\frac {1}{2 \, {\left (b c x - a c\right )} a b c} + \frac {\log \left ({\left | -\frac {2 \, a c}{b c x - a c} - 1 \right |}\right )}{4 \, a^{2} b c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 42, normalized size = 1.00 \begin {gather*} \frac {1}{2\,a\,b\,\left (a\,c^2-b\,c^2\,x\right )}+\frac {\mathrm {atanh}\left (\frac {b\,x}{a}\right )}{2\,a^2\,b\,c^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________